#实践1
mylist = ['c','o','d','e','m','a','o']
for i in mylist:
    print(i)

#实践2
s = "hello codemao"
print(s[8])
print(s[6:10])
print(s[0:13:2])

#实践3
s = "hello codemao！"
mylist = []
for i in s:
    if i != " ":
        mylist.append(i)
mylist.remove("！")
print(mylist)
